<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<s:head theme="ajax"/>
</head>
<body>
	<center>
		
		유저 수정
		<!-- 
		<s:form namespace="/admin" action="updateok" method="post">
		 -->
		 
		<form action="/ssteam/admin/updateok.do" method="post" id="update">
		
		<table border="0" width="550" height="450">
			<tr>
				<td width="20%" align="right" bgcolor="ededed">
					<font color="red">*</font>부서
				</td>
				<td width="80%" align="left">
					<select name="deptno">
						<s:iterator value="dlist">
							<option value="${deptno }" ${deptno==vo.deptno ? "selected" : "" }>${dname}</option>
						</s:iterator>
					</select>
				</td>				
			</tr>
			<tr>
				<td width="20%" align="right" bgcolor="ededed">
					<font color="red">*</font>직급
				</td>
				<td width="80%" align="left">
					<select name="jobno" onchange="">
						<s:iterator value="jlist">
							<option value="${jobno }" ${jobno==vo.jobno ?  "selected" : "" }>${jname}</option>
						</s:iterator>
					</select>				
				</td>				
			</tr>
			<tr>
				<td width="20%" align="right" bgcolor="ededed">
					<font color="red"></font>사번
				</td>
				<td width="80%" align="left">
					<input type="text" name="sabun" value="${vo.sabun }" maxlength="7" readonly>
				</td>				
			</tr>			
			<tr>
				<td width="20%" align="right" bgcolor="ededed">
					<font color="red">*</font>이름
				</td>
				<td width="80%" align="left">
					<input type="text" name="name" value="${vo.name }">
				</td>				
			</tr>	
			<tr>
				<td colspan="2">
					<hr color="white">
				</td>
			</tr>							
			<tr>
				<td width="20%" align="right" bgcolor="ededed">
					비밀번호
				</td>
				<td width="80%" align="left">
					<input type="password" name="pwd" value="${vo.pwd }" readonly>
				</td>				
			</tr>			
			<tr>
				<td width="20%" align="right" bgcolor="ededed">
					전화번호
				</td>
				<td width="80%" align="left">
					<input type="text" name="tel" value="${vo.tel }">
				</td>				
			</tr>
			<tr>
				<td width="20%" align="right" bgcolor="ededed">
					휴대전화
				</td>
				<td width="80%" align="left">
					<input type="text" name="hp" value="${vo.hp }">
				</td>				
			</tr>
			<tr>
				<td width="20%" align="right" bgcolor="ededed">
					팩스번호
				</td>
				<td width="80%" align="left">
					<input type="text" name="fax" value="${vo.fax }">
				</td>				
			</tr>
			<tr>
				<td width="20%" align="right" bgcolor="ededed">
					이메일
				</td>
				<td width="80%" align="left">
					<input type="text" name="email" value="${vo.email }">
				</td>				
			</tr>												
			<tr>
				<td width="20%" align="right" bgcolor="ededed">
					프로필
				</td>
				<td width="80%" align="left">
					<textarea rows="7" cols="50" name="profile">${vo.profile }</textarea>					
				</td>				
			</tr>
			<tr>
				<td width="20%" align="right" bgcolor="ededed">
					프로필 사진
				</td>
				<td width="80%" align="left">
				<%-- 
					<s:file name="upload" label="프로필 사진" size="50" />
				--%>	
				</td>				
			</tr>			
			<tr>
				<td colspan="2">
				<!-- 
					<s:submit type="button" theme="ajax" targets="center1" showLoadingText="false" value="수정"/>	
					<s:a targets="center1" theme="ajax" href="/ssteam/admin/sawonmanager.do">뒤로</s:a>
				 -->
					<s:a formId="update" theme="ajax" targets="center1" showLoadingText="false">
					<img src="/ssteam/image/admin/su1.gif" border=0
				onMouseOut='javascript:this.src="/ssteam/image/admin/su1.gif"
            'onMouseOver='javascript:this.src="/ssteam/image/admin/su2.gif"' onclick="Sawoncheck()">
				</s:a>
					
				</td>
			</tr>						
		</table>
		<!-- 
		</s:form>
		 -->
		</form>
	</center>
</body>
</html>







